package com.zerox.mapper;

import com.zerox.pojo.SysDept;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysDeptMapper {

    List<SysDept> selectDeptList(SysDept dept);

    List<SysDept> list(@Param("page")Integer page,@Param("limit") Integer limit);

    int add(SysDept sysDept);

    SysDept view(@Param("deptId") Integer deptId);

    int update(SysDept sysDept);

    int delete(@Param("deptId") Integer deptId);
}
